def log_request(req: 'flask_request') -> None:
    with open('site.log', 'a') as log:
        print(req.form,req.remote_addr,req.user_agent,file=log,sep='|')